package com.dc.model;

import java.util.Date;

public class Inventory {
    // 租出id
    private Integer inventory_id;
    // 花卉id
    private String flower_id;
    // 花卉名
    private String flower_name;
    // 租出id
//    private Integer lease_id;
    // 租出数量
    private Integer lease_count;
    // 库存数量
    private Integer inventory_count;
    // 购入id
//    private Integer rent_id;
    // 总购入数量
    private Integer rent_count;
    // 损坏数量
    private Integer damage_count;
    // 更新时间
    private Date update_time;

    public Integer getInventory_id() {
        return inventory_id;
    }

    public void setInventory_id(Integer inventory_id) {
        this.inventory_id = inventory_id;
    }

    public String getFlower_id() {
        return flower_id;
    }

    public void setFlower_id(String flower_id) {
        this.flower_id = flower_id;
    }

    public String getFlower_name() {
        return flower_name;
    }

    public void setFlower_name(String flower_name) {
        this.flower_name = flower_name;
    }

    public Integer getLease_count() {
        return lease_count;
    }

    public void setLease_count(Integer lease_count) {
        this.lease_count = lease_count;
    }

    public Integer getInventory_count() {
        return inventory_count;
    }

    public void setInventory_count(Integer inventory_count) {
        this.inventory_count = inventory_count;
    }

    public Integer getRent_count() {
        return rent_count;
    }

    public void setRent_count(Integer rent_count) {
        this.rent_count = rent_count;
    }

    public Integer getDamage_count() {
        return damage_count;
    }

    public void setDamage_count(Integer damage_count) {
        this.damage_count = damage_count;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Inventory{");
        sb.append("inventory_id=").append(inventory_id);
        sb.append(", flower_id='").append(flower_id).append('\'');
        sb.append(", flower_name='").append(flower_name).append('\'');
        sb.append(", lease_count=").append(lease_count);
        sb.append(", inventory_count=").append(inventory_count);
        sb.append(", rent_count=").append(rent_count);
        sb.append(", damage_count=").append(damage_count);
        sb.append(", update_time=").append(update_time);
        sb.append('}');
        return sb.toString();
    }
}
